using System;
using System.Runtime.Serialization;
namespace eTMS.DAO{
	/********************************BEGIN TietHocEntity****************************************/
	///<summary>
	/// <para>Author: Auto generated class by CSharp Code Generator v2.0</para>
	/// <para>Date:26/10/2011 44:05:56</para>
	/// <para>Class Name: TietHocEntity</para>
	/// <para>Description: ClassTietHocEntity store data of table TietHoc</para>
	///</summary>

	[DataContract]
	public partial class TietHocEntity{


		private bool _InternalChangedIsNullTietHoc_ID=true;
		private bool _IsNullTietHoc_ID=true;
		private bool _InternalChangedIsNullMaTietHoc=true;
		private bool _IsNullMaTietHoc=true;
		private bool _InternalChangedIsNullTenTietHoc=true;
		private bool _IsNullTenTietHoc=true;
		private bool _InternalChangedIsNullGhiChu=true;
		private bool _IsNullGhiChu=true;
		private bool _InternalChangedIsNullThuTu=true;
		private bool _IsNullThuTu=true;
		private bool _InternalChangedIsNullCaHoc_ID=true;
		private bool _IsNullCaHoc_ID=true;
		private int _TietHoc_ID;
		private string _MaTietHoc;
		private string _TenTietHoc;
		private string _GhiChu;
		private int _ThuTu;
		private int _CaHoc_ID;
		[DataMember]
		public bool IsNullTietHoc_ID{
			get{return _IsNullTietHoc_ID;}
			set{if(!_InternalChangedIsNullTietHoc_ID)_IsNullTietHoc_ID=value;}
		}
		[DataMember]
		public bool IsNullMaTietHoc{
			get{return _IsNullMaTietHoc;}
			set{if(!_InternalChangedIsNullMaTietHoc)_IsNullMaTietHoc=value;}
		}
		[DataMember]
		public bool IsNullTenTietHoc{
			get{return _IsNullTenTietHoc;}
			set{if(!_InternalChangedIsNullTenTietHoc)_IsNullTenTietHoc=value;}
		}
		[DataMember]
		public bool IsNullGhiChu{
			get{return _IsNullGhiChu;}
			set{if(!_InternalChangedIsNullGhiChu)_IsNullGhiChu=value;}
		}
		[DataMember]
		public bool IsNullThuTu{
			get{return _IsNullThuTu;}
			set{if(!_InternalChangedIsNullThuTu)_IsNullThuTu=value;}
		}
		[DataMember]
		public bool IsNullCaHoc_ID{
			get{return _IsNullCaHoc_ID;}
			set{if(!_InternalChangedIsNullCaHoc_ID)_IsNullCaHoc_ID=value;}
		}
		[DataMember]
		public int TietHoc_ID{
			get{return _TietHoc_ID;}
			set{
				_TietHoc_ID=value;
				if(_TietHoc_ID!=null){
					_IsNullTietHoc_ID=false;
					_InternalChangedIsNullTietHoc_ID=true;
				}
			}
		}
		[DataMember]
		public string MaTietHoc{
			get{return _MaTietHoc;}
			set{
				_MaTietHoc=value;
				if(_MaTietHoc!=null){
					_IsNullMaTietHoc=false;
					_InternalChangedIsNullMaTietHoc=true;
				}
			}
		}
		[DataMember]
		public string TenTietHoc{
			get{return _TenTietHoc;}
			set{
				_TenTietHoc=value;
				if(_TenTietHoc!=null){
					_IsNullTenTietHoc=false;
					_InternalChangedIsNullTenTietHoc=true;
				}
			}
		}
		[DataMember]
		public string GhiChu{
			get{return _GhiChu;}
			set{
				_GhiChu=value;
				if(_GhiChu!=null){
					_IsNullGhiChu=false;
					_InternalChangedIsNullGhiChu=true;
				}
			}
		}
		[DataMember]
		public int ThuTu{
			get{return _ThuTu;}
			set{
				_ThuTu=value;
				if(_ThuTu!=null){
					_IsNullThuTu=false;
					_InternalChangedIsNullThuTu=true;
				}
			}
		}
		[DataMember]
		public int CaHoc_ID{
			get{return _CaHoc_ID;}
			set{
				_CaHoc_ID=value;
				if(_CaHoc_ID!=null){
					_IsNullCaHoc_ID=false;
					_InternalChangedIsNullCaHoc_ID=true;
				}
			}
		}
	}
	/*****************************************************************************************************/
	/**********************************END TietHocEntityBase*****************************************/
	/*****************************************************************************************************/
}

